# 设置本镜像需要使用的基础镜像
FROM nginx:1.10
LABEL maintainer="641655770@qq.com"
  
# 把jar包添加到镜像中
ADD dist /usr/share/nginx/html/dji
 
# 镜像暴露的端口
EXPOSE 80
 
#RUN bash -c 'touch /usr/share/nginx/html/h5'
  
# 容器启动命令
ENTRYPOINT ["nginx", "-g","daemon off;"]
 
# 设置时区
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
 